package pt.iscte.aa.vehiclesconsumption;

import java.io.File;
import java.io.IOException;
import java.util.Scanner;

import pt.iscte.aa.vehiclesconsumption.id3.Id3;

public class ConsuptionMain {
	public static void main (String [] args){
		Id3 algorithm = new Id3();

        String filename;

        // Prepare to read from the file, using a Scanner object
        File file = new File("DataSet");
        
//        String str = in.nextLine();
//        algorithm.atributoClase = "coluna";

//        int status = algorithm.readData( "coluna" );
//        if (status <= 0) {
//            return;
//        }
//
//		algorithm.createDecisionTree();
        
        try {
			algorithm.readCsvFile("DataSet");
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        
        
	}

}
